﻿
    function xxoo()
    {
        //document.write("<p>我是一个段落 </p>");
        document.getElementById("oo").innerHTML += " 冠军"
        var xx = "haskjdhkajshd";
        
        for (var i = 0; i < xx.length; i++)
        {
            document.write(xx[i].toLocaleUpperCase() + "哈哈哈<br>");

            lbl:
                {
                    document.write("哦啦啦<br>");
                    break lbl;
                    document.write("111111111<br>");
                }
            document.write("2222222222222222222222<br>");

            var uu = "xxxddd";
        }
        alert(uu);

        //i
        //for (var i in xx) {
        //    document.write(xx[i].toLocaleUpperCase() + "乌卡卡<br>");
        //}

        //var oP =  { name: "jjj", age: 55, sex: "nan" };

        //oP.name = "tt";

        //alert(oP.name);

        //try {

        //    var g = 8 / 0;
        //    debugger;
        //    alterd("454500");

        //} catch (e) {
        //    alert(e.message), alert(e.toString());
        //}

    }

    function pp()
    {
    }


    function ii()
    {
        var x = document.getElementsByTagName("p");
        x[0].innerHTML = "55555555";

        //document.write("ssssssssssssssssss")


    }

    function xx()
    {
        var sy=document.getElementById("image");
        if(sy.src.indexOf("l") == -1)
        {
            alert("1");
            document.getElementById("image").src="smiley.gif";
        }
    else
    {
			alert("2");
        document.getElementById("image").src="landscape.jpg";
    }

    }